package com.link.base.base.discountallow.controller;

import com.link.base.base.discountallow.model.DiscountAllow;
import com.link.base.base.discountallow.service.DiscountAllowService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 折扣折让
 *
 * @author crm4
 * @date 2024-03-30 08:23:38
 */
@Controller
@RequestMapping("/link/discountAllow")
public class DiscountAllowController extends BasicController<DiscountAllow> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private DiscountAllowService discountAllowService;

    @Override
    public BasicService<DiscountAllow> getBasicService() throws Exception {
        return discountAllowService;
    }
}
